<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
</head>
<body>
    <select>
        <option value="1" id="one">one</option>
        <option id="two">two</option>
    </select>
<script>
    alert(document.getElementById('one').value);
    alert(document.getElementById('two').value);
</script>
</body>
</html>